package com.by.config;

/**
 * @author ServivE
 * @version 0.1
 * @className RabbitConstant
 * @description
 * @date 2024/10/23 9:57
 * @since jdk17
 */
public enum RabbitConstant {

    EXCHANGE_NAME("logEx"),QUEUE_ERROR("error"), QUEUE_INFO("info");

    String name;

    private RabbitConstant(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return this.name;
    }
}
